package com.tamtamy.jtta.data.json;

import net.sf.json.JSONObject;

import com.tamtamy.jtta.data.UserStatsGenerationDetails;
import com.tamtamy.jtta.utility.JSONUtility;

public class JSONUserStatsGenerationDetails extends UserStatsGenerationDetails{

	public JSONUserStatsGenerationDetails(JSONObject jsonObject) {
		this.id = JSONUtility.getLong(jsonObject, "id");
		this.generated = JSONUtility.getDate(jsonObject, "generated");
		this.usersRanking = JSONUtility.getStringList(jsonObject, "usersRanking");
	}

}
